#ifndef VIEW_H_
#define VIEW_H_
#include <QtGui>
#include "Jamnik.h"

/*

View - klasa wyswietlajaca pole bitwy

 */

class View : public QGraphicsView{

	Q_OBJECT

public:
	View(QWidget *parent = 0); // konstruktor

protected:
	void keyPressEvent(QKeyEvent *event);

signals:
	void keyPressed(int key);
};

#endif /* VIEW_H_ */
